package com.wenli.lt.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author l&t
 * @version 1.0
 * @date 2021/4/10 17:14
 */
@Data
public class CommentlistPo {
    /**
     * 评论人id
     */
    private String commentId;

    /**
     * 评论人学号
     */
    private String commentStudentNumb;
    private String commentStudentAvater;

    private String commentStudentNickname;

    /**
     * 评论内容
     */
    private String commentContent;

    /**
     * 评论人回复的人学号
     */
    private String commentReplyStuNumb;

    private String commentReplyStudentAvater;

    private String commentReplyStudentNickname;

    /**
     * 被评论商品id
     */
    private String goodsId;

    /**
     * 评论时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh")
    private Date commentTime;
}
